package domain

type TmallServicecenterWorkcardLogisticsinfoCreateCreateLogisticsOrderRequest struct {
	/*
	   外部单据id     */
	OuterId *string `json:"outer_id,omitempty" `

	/*
	   STAGE1:一阶段物流 STAGE2:二阶段物流     */
	Type *string `json:"type,omitempty" `

	/*
	   逗号分隔的工单id列表     */
	WorkcardIds *string `json:"workcard_ids,omitempty" `

	/*
	   快递单号     */
	MailNo *string `json:"mail_no,omitempty" `

	/*
	   快递公司     */
	CompanyName *string `json:"company_name,omitempty" `

	/*
	   目的地四级地址编码     */
	ToAddressLocation *string `json:"to_address_location,omitempty" `

	/*
	   目的地详细地址     */
	ToAddressDetail *string `json:"to_address_detail,omitempty" `

	/*
	   取件四级地址编码     */
	FromAddressLocation *string `json:"from_address_location,omitempty" `

	/*
	   取件详细地址     */
	FromAddressDetail *string `json:"from_address_detail,omitempty" `
}

func (s *TmallServicecenterWorkcardLogisticsinfoCreateCreateLogisticsOrderRequest) SetOuterId(v string) *TmallServicecenterWorkcardLogisticsinfoCreateCreateLogisticsOrderRequest {
	s.OuterId = &v
	return s
}
func (s *TmallServicecenterWorkcardLogisticsinfoCreateCreateLogisticsOrderRequest) SetType(v string) *TmallServicecenterWorkcardLogisticsinfoCreateCreateLogisticsOrderRequest {
	s.Type = &v
	return s
}
func (s *TmallServicecenterWorkcardLogisticsinfoCreateCreateLogisticsOrderRequest) SetWorkcardIds(v string) *TmallServicecenterWorkcardLogisticsinfoCreateCreateLogisticsOrderRequest {
	s.WorkcardIds = &v
	return s
}
func (s *TmallServicecenterWorkcardLogisticsinfoCreateCreateLogisticsOrderRequest) SetMailNo(v string) *TmallServicecenterWorkcardLogisticsinfoCreateCreateLogisticsOrderRequest {
	s.MailNo = &v
	return s
}
func (s *TmallServicecenterWorkcardLogisticsinfoCreateCreateLogisticsOrderRequest) SetCompanyName(v string) *TmallServicecenterWorkcardLogisticsinfoCreateCreateLogisticsOrderRequest {
	s.CompanyName = &v
	return s
}
func (s *TmallServicecenterWorkcardLogisticsinfoCreateCreateLogisticsOrderRequest) SetToAddressLocation(v string) *TmallServicecenterWorkcardLogisticsinfoCreateCreateLogisticsOrderRequest {
	s.ToAddressLocation = &v
	return s
}
func (s *TmallServicecenterWorkcardLogisticsinfoCreateCreateLogisticsOrderRequest) SetToAddressDetail(v string) *TmallServicecenterWorkcardLogisticsinfoCreateCreateLogisticsOrderRequest {
	s.ToAddressDetail = &v
	return s
}
func (s *TmallServicecenterWorkcardLogisticsinfoCreateCreateLogisticsOrderRequest) SetFromAddressLocation(v string) *TmallServicecenterWorkcardLogisticsinfoCreateCreateLogisticsOrderRequest {
	s.FromAddressLocation = &v
	return s
}
func (s *TmallServicecenterWorkcardLogisticsinfoCreateCreateLogisticsOrderRequest) SetFromAddressDetail(v string) *TmallServicecenterWorkcardLogisticsinfoCreateCreateLogisticsOrderRequest {
	s.FromAddressDetail = &v
	return s
}
